//
//  Student.m
//  OCDemo
//
//  Created by wxf on 2024/8/4.
//

#import "Student.h"

@implementation Student

-(void)eat{
    self.weight = 100;
    NSLog(@"学生在吃");
}

//重写
- (void)run{
    NSLog(@"学生在跑");
}
@end
